package com.entity;

import java.io.Serializable;

public class Tag implements Serializable{
	
		//序列号写死
		private static final long serialVersionUID = -522549848944631553L;
	    private Integer tagId;
	    private String tagName;
	    private String tagDescription;
	
	    //文章数量(不是数据库字段)
	    private Integer articleCount;
	
	    public Tag() {
	    }
	
	    public Tag(Integer tagId) {
	        this.tagId = tagId;
	    }
	
	    public Tag(Integer tagId, String tagName, String tagDescription, Integer articleCount) {
	        this.tagId = tagId;
	        this.tagName = tagName;
	        this.tagDescription = tagDescription;
	        this.articleCount = articleCount;
	    
	 }

		public Integer getTagId() {
			return tagId;
		}

		public void setTagId(Integer tagId) {
			this.tagId = tagId;
		}

		public String getTagName() {
			return tagName;
		}

		public void setTagName(String tagName) {
			this.tagName = tagName;
		}

		public String getTagDescription() {
			return tagDescription;
		}

		public void setTagDescription(String tagDescription) {
			this.tagDescription = tagDescription;
		}

		public Integer getArticleCount() {
			return articleCount;
		}

		public void setArticleCount(Integer articleCount) {
			this.articleCount = articleCount;
		}
	   
}
